package com.cn.zmc.design.singleton;

/*
*
*  内部类
**/
public class InnerClassSingleton {


    public Singleton getInstance() {
        return Singleton.singleton;
    }


    public static class Singleton{
        public static Singleton singleton = new Singleton();

        public static Singleton getInstance() {
            return singleton;
        }
    }
}
